﻿using System.Runtime.Serialization;

namespace TimeTravel.Components
{
    /// <summary>
    /// 站内留言信息
    /// </summary>
    [DataContract]
    public class SiteMessageInfo : BaseComponent
    {
        /// <summary>
        /// 留言标题
        /// </summary>	
        [DataMember(Name = "title")]	
        public string Title { get; set; }

        /// <summary>
        /// 留言内容
        /// </summary>		
        [DataMember(Name = "body")]
        public string Body { get; set; }

        /// <summary>
        /// 留言者昵称
        /// </summary>		
        [DataMember(Name = "nickname")]
        public string NickName { get; set; }

        /// <summary>
        /// 留言者邮箱
        /// </summary>		
        [DataMember(Name = "email")]
        public string Email { get; set; }

        /// <summary>
        /// 留言日期（时间戳格式）
        /// </summary>		
        [DataMember(Name = "date")]
        public int Date { get; set; }
    }
}